/*
 * @Author: fishroom
 * @Date: 2022-03-28 18:15:29
 * @LastEditTime: 2022-04-02 13:58:01
 * @FilePath: \website\src\store\index.ts
 */
import { createStore } from "vuex";

export default createStore({
  state: {
    loadingFlag: false,
  },
  getters: {},
  mutations: {
    changeLoading(state, flag: boolean): void {
      state.loadingFlag = flag;
    },
  },
  actions: {},
  modules: {},
});
